import Vue from 'vue';
import VueRouter from 'vue-router';

Vue.use(VueRouter);

const routes = [{
    path: '/',
    name: 'Home',
    component: () => import('../views/inventory/index.vue'),
},{
    path: '/in-2',
    name: 'in-2',
    component: () => import('../views/inventory-2/index.vue'),
},

];

const router = new VueRouter({
    mode: 'history',
    routes
});

export default router;